import request from '@/utils/https'

//获取全部电子书包sn
export const queryEbagSnAll = params => request('get','api/queryEbagSnAll',params)

//单条添加电子书包sn
export const addEbagSnOne = params => request('post','api/addEbagSnOne',params)

//批量添加电子书包sn
export const addEbagSnMany = params => request('post','api/addEbagSnMany',params)

//删除电子书包sn
export const deleteEbagSn = params => request('post','api/deleteEbagSn',params)

//编辑电子书包sn
export const editEbagSn = params => request('post','api/editEbagSn',params)


//------------------------------------------------------------------------------------------------激活码管理
//获取全部电子书包激活码
export const queryEbagCodeAll = params => request('get','api/queryEbagCodeAll',params)

//单条添加电子书包激活码
export const addEbagCodeOne = params => request('post','api/addEbagCodeOne',params)

//批量添加电子书包激活码
export const addEbagCodeMany = params => request('post','api/addEbagCodeMany',params)

//编辑电子书包激活码
export const editEbagCode = params => request('post','api/editEbagCode',params)

//批量激活电子书包
export const pluralUpEbagCode = params => request('post','api/pluralUpEbagCode',params)